package com.diandian.backend.store.mapper;

import com.diandian.backend.store.domain.StoreJingdongHomeStoreInfo;
import com.diandian.backend.store.dto.*;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface StoreJingdongHomeStoreInfoMapper {

    // 查询详情
    StoreJingdongHomeStoreInfo getDetail(@Param("data") StoreJingdongHomeStoreInfoDetailParamDTO requestDTO);

    void updateBasicInfo(@Param("data") StoreJingdongHomeStoreInfoUpdateByIdParamDTO param);

    // 根据数据id删除记录
    void deleteById(@Param("data") StoreJingdongHomeStoreInfoDeleteByIdParamDTO param);

    // 新增
    void add(@Param("data") StoreJingdongHomeStoreInfoAddParamDTO param);

}